package com.easylinkin.linkappapi.common.utils.codegenerator;

/**
 * 自动生成代码配置
 */
public class Config {

    /**
     * 模块包名 如 .user
     * .user 则对应 com.easylinkin.linkappapi.user
     */
    public static final String MODULE_PACKAGE = ".quality";
    /**
     * 实体名称
     */
    public static final String MODEL_NAME = "ActualMeasureValue";
    /**
     * 表名
     */
    public static final String TABLE_NAME = "app_quality_actual_measure_value";

    /**
     * 数据库地址，可以设置本地，也可以设置开发环境
     */
    //public static final String JDBC_URL = "jdbc:mysql://127.0.0.1:3306/linkapp?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false&nullCatalogMeansCurrent=true";
    //public static final String JDBC_USERNAME = "root";
    //public static final String JDBC_PASSWORD = "root"; //123456

    public static final String JDBC_URL = "jdbc:mysql://172.16.10.190:15051/linkappdb?useUnicode=true&characterEncoding=utf8&useSSL=true&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8";
    public static final String JDBC_USERNAME = "linkapp";
    public static final String JDBC_PASSWORD = "ws6umbXqO2_KYghoD4GInbXNoyOIfPqd"; //123456
    /**
     * 项目在硬盘上的基础路径 + model名称
     */
    public static final String PROJECT_PATH = System.getProperty("user.dir") + "\\linkapp-api";
//    有的同学是下面这样
    //    public static final String PROJECT_PATH = System.getProperty("user.dir");
}
